package com.yc.game.dao;

import com.yc.game.pojo.TrainingContent;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TrainingContentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TrainingContent record);

    int insertSelective(TrainingContent record);

    TrainingContent selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TrainingContent record);

    int updateByPrimaryKey(TrainingContent record);

    List<TrainingContent> getByEmail(String email);

    List<TrainingContent> getAll();
}